package com.java.springboot.elasticsearch.param;

import lombok.Data;

/**
 * @author zhangtengfei
 * @date 2021/10/11 17:41
 */

@Data
public class BookSearchParam {

    private String description;
    
    private String bookName;
    
    private Double price;

    private Integer pageIndex = 1;
    
    private Integer pageSize = 5;
    /**
     * 分组统计字段
     */
    private String statField = "level";

    private String highlightedField;

    private String searchType = "and";
}
